package com.happly.happlycloud.pojo;

import lombok.*;

import java.io.Serializable;
import java.util.Date;

//添加get和set方法
@Getter
@Setter
//添加无参构造器
@NoArgsConstructor
//添加全参构造器
@AllArgsConstructor
//equalsAndHashCode只作用于id
@EqualsAndHashCode(of = "id")
public class Category implements Serializable {
    private Integer id;

    private Integer parentId;

    private String name;

    private Boolean status;

    private Integer sortOrder;

    private Date createTime;

    private Date updateTime;

}